Orientation Information
The collection item ID for orientation information is defined in the following enumeration:
enum { gxOrientationTag = 'layo' };QuickDraw GX stores orientation information in the gxOrientationInfo structure:
struct gxOrientationInfo { char orientation; } ;QuickDraw GX defines orientation options in the following enumeration:
Field Description
orientation
- A character that contains the orientation information. For example, a user may choose to print a document in portrait, landscape, or rotated landscape orientation.
enum { gxPortraitLayout = (char) 0, gxLandscapeLayout = (char) 1, gxRotatedPortraitLayout = (char) 2, gxRotatedLandscapeLayout = (char) 3 };Constant descriptions
gxPortraitLayout
- If set, QuickDraw GX uses portrait orientation for the user-specified page.
gxLandscapeLayout
- If set, QuickDraw GX uses landscape orientation for the user-specified page.
gxRotatedPortraitLayout
- If set, QuickDraw GX uses rotated portrait orientation for the page.
gxRotatedLandscapeLayout
- If set, QuickDraw GX uses rotated landscape orientation for the user-specified page.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help